package org.onion.pattern.event.springboot.rocketmq.annotation;

import org.onion.pattern.event.domain.annotation.Event;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Event
public @interface RocketMQEvent {

    /**
     * topic
     */
    String value() default "";

    /**
     * 序列化
     *
     */
    String serializer() default "";

}
